import {
  // API
  Package_Name,
  PathConst_Name,
  IpcUtil_Name,
  // 类型
  PathConstType_Name,
  GenMainIpcHandleListenerType_Name
} from '@xtail/electron'
import { AutoImportUtil } from '@xtail/unplugin'

export const XTailElectronAutoImports = () =>
  AutoImportUtil.genAutoImports(Package_Name, [PathConst_Name, IpcUtil_Name])

export type XTailElectronAutoImportsType = typeof XTailElectronAutoImports

export const XTailElectronTypeAutoImports = () =>
  AutoImportUtil.genTypeAutoImports(Package_Name, [
    PathConstType_Name,
    GenMainIpcHandleListenerType_Name
  ])

export type XTailElectronTypeAutoImportsType = typeof XTailElectronTypeAutoImports
